package lac.serviceuint.cfg.model;

import java.util.List;

import lac.model.core.cfg.BasicProperty;
import lac.model.core.cfg.EntityProperty;
import lac.model.core.cfg.IdProperty;
import lac.model.core.cfg.ModelDescribe;
import lac.model.core.cfg.Type;

public class MethodParamModelDescribe extends ModelDescribe{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2355037447929388905L;
	
	public MethodParamModelDescribe() {
		this.setName("ServiceUnitMethodParam");
		this.setTableName("pt_serviceunit_method_param");
		this.setIdProperty(new IdProperty());
		List<BasicProperty> basicProperties = this.getBasicProperties();
		basicProperties.add(new BasicProperty(Type.String, "name", "st_name", 50));
		basicProperties.add(new BasicProperty(Type.String, "javaClassType", "st_java_class_type", 100));
		basicProperties.add(new BasicProperty(Type.Integer, "index", "n_index"));
		basicProperties.add(new BasicProperty(Type.String, "defalutValue", "st_defalut_value", 1000));
		basicProperties.add(new BasicProperty(Type.Boolean, "restDefalutValue", "b_rest_defalut_value"));
		basicProperties.add(new BasicProperty(Type.String, "describe", "st_describe", 100));
		
		List<EntityProperty> entityPropertys = this.getEntityProperties();
		entityPropertys.add(new EntityProperty("method", "st_method_id", "ServiceUnitMethod"));
	}

}
